/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.andersonlab.trailsdm.data;

import org.andersonlab.trailsdm.control.DataConduit.RetrievalCallBack;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author jcanderson
 */
public class PersonTest {
    private Person instance;
    
    public PersonTest() {
        instance = new Person("temp = jcanderson");
    }

    @BeforeClass
    public static void setUpClass() throws Exception {
    }

    @AfterClass
    public static void tearDownClass() throws Exception {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }

    /**
     * Test of getHistory method, of class Person.
     */
    @Test
    public void testGetHistory() {
        System.out.println("getHistory");
        RetrievalCallBack<History> callback = null;
        instance.getHistory(callback);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of isAdmin method, of class Person.
     */
    @Test
    public void testIsAdmin() {
        System.out.println("isAdmin");
        boolean expResult = false;
        boolean result = instance.isAdmin();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of setAdmin method, of class Person.
     */
    @Test
    public void testSetAdmin() {
        System.out.println("setAdmin");
        boolean admin = false;
        instance.setAdmin(admin);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of getFirstname method, of class Person.
     */
    @Test
    public void testGetFirstname() {
        System.out.println("getFirstname");
        String expResult = "";
        String result = instance.getFirstname();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of setFirstname method, of class Person.
     */
    @Test
    public void testSetFirstname() {
        System.out.println("setFirstname");
        String firstname = "";
        instance.setFirstname(firstname);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of isInstructor method, of class Person.
     */
    @Test
    public void testIsInstructor() {
        System.out.println("isInstructor");
        boolean expResult = false;
        boolean result = instance.isInstructor();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of setInstructor method, of class Person.
     */
    @Test
    public void testSetInstructor() {
        System.out.println("setInstructor");
        boolean instructor = false;
        instance.setInstructor(instructor);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of getLastname method, of class Person.
     */
    @Test
    public void testGetLastname() {
        System.out.println("getLastname");
        String expResult = "";
        String result = instance.getLastname();
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }

    /**
     * Test of setLastname method, of class Person.
     */
    @Test
    public void testSetLastname() {
        System.out.println("setLastname");
        String lastname = "";
        instance.setLastname(lastname);
        // TODO review the generated test code and remove the default call to fail.
        fail("The test case is a prototype.");
    }
}
